package com.heliming.data.utils;

public class BizCode {
	
	public BizCode(int code, String message) {
		this.code = code;
		this.message = message;
	}

	private int code;
	private String message;

	public void setCode(int code) {
		this.code = code;
	}

	public int getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return getMessage();
	}

	public static final BizCode FAILD_ADD_EXCEPTION = new BizCode(10100, "添加失败");

}
